<include file="common/fileinput"/>
<div class="col-xs-12">
	<div class="row">
		<form class="form-horizontal" role="form" id="form" action="{:U('Product/editPrice')}">
			<div class="form-group">
				<input type="hidden" name="id" value="{$data.id}">
				<volist name="level" id="vo">
					<include file="template:number" name="price{$vo.level}" label="{$vo.name}代理价格" value="{$vo.level|getAgenPrice=$data,###}"  attr='data-rule="required;length(~20)" maxlength="20"'/>
				</volist>
			</div>
			<div class="form-group" style="margin-top: 20px;">
				<include file="template:button" label="保存"/>
			</div>
		</form>
	</div>
</div>